import React, { useState, useEffect } from 'react'
import { useHistory } from 'react-router-dom'
import Card from '@/framework/card'
import styles from './style.module.less'

const My = () => {
  const history = useHistory()
  const [dataList, setDataList] = useState([])

  useEffect(() => {
    history.push('/a/b?id=1')
  }, [history])

  return <div className={styles.container}>my</div>
}

export default My
